using System.Collections.Generic;
using System;

namespace Commons.Models.TradeValues
{
	[Serializable]
	public class MultipleTradeValue : TradeValue
	{
		public IList<ITradeValue> Values { get; private set; }

		public MultipleTradeValue (IList<ITradeValue> values)
			: base("multiple")
		{
			this.Values = values;
		}

		public MultipleTradeValue () : this(new List<ITradeValue>())
		{

		}

		public void AddValue(ITradeValue value)
		{
			Values.Add(value);
		}
	}
}

